package com.drg.center.entity.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@ApiModel("手术操作信息")
@Data
public class PatientCaseOperationVO implements Serializable {

    @ApiModelProperty("手术级别")
    private String operationLevel;

    // ++
    @ApiModelProperty("是否微创手术")
    private Boolean isMiniOperation;

    @ApiModelProperty("his手术操作编码")
    private String operationCode;

    @ApiModelProperty("his手术操作名称")
    private String operationName;

    @ApiModelProperty("医保手术操作编码")
    private String medicareOperationCode;

    @ApiModelProperty("医保手术操作名称")
    private String medicareOperationName;

    @ApiModelProperty("是否主手术")
    private Boolean isMain;

    @ApiModelProperty("是否上传清单")
    private Boolean isUpload;

    @ApiModelProperty("手术时间")
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime operationDate;

    @ApiModelProperty("手术医生编码")
    private String operationDoctorCode;

    @ApiModelProperty("手术医生姓名")
    private String operationDoctorName;

    @ApiModelProperty("麻醉方式")
    private String anesthesiaType;

    @ApiModelProperty("麻醉医生编码")
    private String anesthesiaDoctorCode;

    @ApiModelProperty("麻醉医生姓名")
    private String anesthesiaDoctorName;

    @ApiModelProperty("麻醉时间")
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime anesthesiaDate;
}
